package com.flashcash.solu.view.fragment;

import android.os.Bundle;
import android.view.View;

import com.flashcash.solu.R;
import com.flashcash.solu.view.camera.FaceDetectorFragment;
import com.flashcash.solu.view.camera.FaceDetectorPreImpl;
import com.flashcash.solu.view.camera.FaceDetectorPresenter;
import com.flashcash.solu.view.camera.FaceDetectorView;

/**
 * Created on 2019-05-26 19:05.
 */
public class FaceDetectorFragmentImpl extends FaceDetectorFragment<FaceDetectorPresenter> implements FaceDetectorView {

    @Override
    public void submitButtonStateUpdate(boolean active) {

    }

    @Override
    protected FaceDetectorPresenter initPresenter() {
        return new FaceDetectorPreImpl();
    }

    @Override
    protected int getLayoutId() {
        return R.layout.fragment_facedetector_impl;
    }

    @Override
    protected void initView(View view, Bundle savedInstanceState) {

    }

    @Override
    protected void initData() {
        showFaceDetectorDialog();
    }
}